﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using ORM.Common.DataAnnotations;
using ORM.Resources;

namespace ORM.Business.Models.Entities
{
    public class ReportedGuide
    {
        #region Primitive properties

        public int Id { get; set; }
        [RequiredExtended]
        public int GuideId { get; set; }

        [RequiredExtended]
        public int ReportedById { get; set; }

        [RequiredExtended]
        public DateTime ReportedDate { get; set; }

        public string Reason { get; set; }

        [RequiredExtended]
        public bool IsIgnored { get; set; }


        #endregion

        #region Navigation properties

        [ForeignKey("GuideId")]
        public virtual Guide Guide { get; set; }

        [ForeignKey("ReportedById")]
        public virtual user ReportedBy { get; set; }

      
        #endregion
    }
}